package com.ctgu.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tea_info")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tea_id",type = IdType.AUTO)
    private Integer teaId;

    //@TableField("tea_name")
    private String teaName;

    //@TableField("tea_pwd")
    private String teaPwd;

    //@TableField("tea_phone")
    private String teaPhone;

    //@TableField("sc_id")
    private Integer scId;

    //@TableField("com_id")
    private Integer comId;

}
